package com.xianrenit.xianrenpuzi.common.util.utils;

import com.xianrenit.xianrenpuzi.model.entity.sys.SysUser;

public class ThreadLocalUtil {

    public static ThreadLocal<SysUser> THREAD_LOCAL = new ThreadLocal();

    public static void set(SysUser sysUser){
        THREAD_LOCAL.set(sysUser);
    }
    public static SysUser get(){
        return THREAD_LOCAL.get();
    }
    public static void remove(){
        THREAD_LOCAL.remove();
    }
}
